0 A~Z ClrText CoordOff ViewWindow 1,127,0,1,63,0 " BILLARD" " " "1-SUITE" "2-DEBUT"? Z Z=1  Mat E[1,7 Z=2 [[0,0,0,0,0,0,0 Mat E Lbl 0 Cls Plot 19,7 Plot X,56 Green Line Plot 111,Y Green Line Plot X,7 Green Line Plot 19,Y Green Line Plot 23,Y Plot 26,10 Orange Line Plot 62,Y Orange Line Plot X,8 Orange Line Plot 67,Y Orange Line Plot X,10 Orange Line Plot 104,Y Orange Line Plot 107,7 Orange Line Plot 111,11 Plot 108,14 Orange Line Plot X,49 Orange Line Plot 111,52 Orange Line Plot 107,56 Plot 104,53 Orange Line Plot 67,Y Orange Line Plot X,55 Orange Line Plot 62,Y Orange Line Plot X,53 Orange Line Plot 26,Y Orange Line Plot 23,56 Orange Line Plot 19,52 Plot 22,49 Orange Line Plot X,14 Orange Line Plot 19,11 Orange Line 0 C Mat E[1,7]= Goto 3
 Mat E[1,7 Lbl 1 For 1 Z To 6 Int 3154Ran#+83 Mat E[1,Z Next Lbl 3 For 1 C To 6 If Mat E[1,C] 0 Then Int ((Mat E[1,C]+82) 83+11 B Mat E[1,C]+106-83(B-11 A C 1 PlotOn A,B Plot A-1,B-1 Plot X,Y+2 Line Plot X+2,Y Line Plot X,Y-2 Line Plot X-2,Y Line IfEnd Next Lbl 4 1 Z Int ((Mat E[1,1]+82) 83+11 B Mat E[1,1]+106-83(B-11 A Plot A,B A=X B=Y Goto 4 Pol(X-A,Y-B) List 1 List Mat(1) Mat Ans[1,1 I Mat Ans[2,1 J Int (I^1.6 I X A (Y-B) (X-A D X>A -D D -1 C X<A 1 C A E B F J<0 J+360 J If J 45 And J 135 Or J 225 And J 315 Then D C D X A 1 Ans C If X=A Then 1 D 0 C Y>B -1 D IfEnd If X<A And Y>B Or X>A And Y<B Then -C C -D D IfEnd IfEnd Lbl 5 K-1 K F+D F E+C E PlotOn E,F X 22 Or Y>53 Or X 108 Or Y<8 Goto 8 X 106 And Y 14 And Y 49 Or X 24 And Y 14 And Y 49 -C C Y 51 And X 26 And X 62 Or Y 51 And X 67 And X 104 Or Y 12 And X 26 And X 62 Or Y 12 And X 67 And X 104 -D D 83(Int Y-12)+Int X-23 H For 1 G To 6 Int ((Mat E[1,G]+82) 83+11 N Mat E[1,G]+106-83(N-11 M X M-1 X M+1 Y N-1 Y N+1 G Z Goto 7 Next Lbl 9 Dsz I Goto 5 83(Int Y-12)+Int X-23 Mat E[1,Z Goto 0 Lbl 7 K>0 Goto 5 2 K H Mat E[1,Z G Z Int ((Mat E[1,Z]+82) 83 F Mat E[1,Z]+106-83F E F+11 F Goto 5 Lbl 8 ClrText " BOULE N " Locate 11,1,Z Locate 13,1,"RENTREE" 0 Mat E[1,Z If Mat E[1,1]=0 Then Locate 1,3,"VOUS AVEZ PERDU" 0 Mat E[1,7 IfEnd 0 For 2 L To 6 Ans+Mat E[1,L Next If Ans=0 Then ClrText "LA PARTIE EST FINIE" Next 0 Mat E[1,7 Stop IfEnd Goto 0
|